package com.zjapl.web.service.impl;

import com.zjapl.web.action.vo.Employee;
import com.zjapl.web.dao.EmployeeDao;
import com.zjapl.web.dao.impl.EmployeeDaoImpl;
import com.zjapl.web.service.EmployeeService;

/** 
 * @author 作者:方武斌    E-mail: fangwb@zjapl.com
 * @version 创建时间：2013-1-15 上午11:13:38 
 * 类说明 
 */
public class EmployeeServiceImpl implements EmployeeService {
    EmployeeDao employeeDaoImpl=new EmployeeDaoImpl();
	@Override
	public boolean addEmployee(Employee emp) {
		// TODO Auto-generated method stub
		return employeeDaoImpl.addEmployee(emp);
	}

	public boolean deleteEmployee(int emp_id){
		return employeeDaoImpl.deleteEmployee(emp_id);
	}

	@Override
	public boolean updateEmployee(Employee emp) {
		// TODO Auto-generated method stub
		return employeeDaoImpl.uodateEmployee(emp);
	}
}
